============================= test session starts ==============================
platform linux -- Python 3.14.0, pytest-8.4.2, pluggy-1.6.0
rootdir: /tmp/pytest-of-runner/pytest-0/test_collection_failure_syntax_error0
collected 0 items / 1 error

==================================== ERRORS ====================================
____________________________ ERROR collecting f.py _____________________________
/home/runner/work/pygments-pytest/pygments-pytest/.tox/push/lib/python3.14/site-packages/_pytest/python.py:498: in importtestmodule
    mod = import_path(
/home/runner/work/pygments-pytest/pygments-pytest/.tox/push/lib/python3.14/site-packages/_pytest/pathlib.py:587: in import_path
    importlib.import_module(module_name)
/opt/hostedtoolcache/Python/3.14.0/x64/lib/python3.14/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1398: in _gcd_import
    ???
<frozen importlib._bootstrap>:1371: in _find_and_load
    ???
<frozen importlib._bootstrap>:1342: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:938: in _load_unlocked
    ???
/home/runner/work/pygments-pytest/pygments-pytest/.tox/push/lib/python3.14/site-packages/_pytest/assertion/rewrite.py:177: in exec_module
    source_stat, co = _rewrite_test(fn, self.config)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/runner/work/pygments-pytest/pygments-pytest/.tox/push/lib/python3.14/site-packages/_pytest/assertion/rewrite.py:357: in _rewrite_test
    tree = ast.parse(source, filename=strfn)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/opt/hostedtoolcache/Python/3.14.0/x64/lib/python3.14/ast.py:46: in parse
    return compile(source, filename, mode, flags,
E     File "/tmp/pytest-of-runner/pytest-0/test_collection_failure_syntax_error0/f.py", line 1
E       (
E       ^
E   SyntaxError: '(' was never closed
=========================== short test summary info ============================
ERROR f.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.16s ===============================